package com.daftmaster.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;


/**
 * 页面路由转发
 *
 * @Author Daft_V
 * @Date 2022/3/20 16:28
 */
@Controller
public class MyController {

    @GetMapping({"/", "login"})
    public String index() {
        return "login";
    }

    @GetMapping("/addUser")
    public String addUser(){
        return "user/addUser";
    }

}
